<template>
    <el-container>
      <el-aside>
        <SideBar @OnEmitIndex="OnEmitIndex"></SideBar>
      </el-aside>
      <el-main>
        <ManageInfo :index="index"></ManageInfo>
      </el-main>
    </el-container>
</template>

<script>
import SideBar from "@/components/SideBar";
import ManageInfo from "@/components/ManageInfo";
import {replaceUrl} from "postcss-url/src/lib/decl-processor";

export default {
  name: "Manage",
  components:{SideBar,ManageInfo},
  data(){
    return{
      index:1
    }
  },
  methods:{
    OnEmitIndex(idx){
      this.index = idx;
    }
  }
}
</script>

<style scoped>

</style>
